<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@ taglib uri="http:dream/cust_tag.tld" prefix="page"%>
<c:choose>
<c:when test="${isEmpty}">
	<script type="text/javascript">
		common.modalGlobalMessage("查询库存不存在!");
	</script>
</c:when>
<c:otherwise>
<c:forEach var="vo" varStatus="vs" items="${stocks}">
	<tr >
		<td class="text-center">
			<input type="checkbox"  name="chkStock"/> 
		</td>
		<td class="text-center ellipsis" >
			 <c:out value="${vo.productPart.id}"/>
		</td>
		<td class="text-left ellipsis" >
			 <c:out value="${vo.productPart.name}"/>
		</td>
		<td class="text-center" >
			${vo.productPart.netPrice }
		</td>
		<td class="text-center" >
			 <c:out value="${vo.stock}"/>
		</td>
		<td class="text-center" >
			<input type="hidden" name="requestItemProductPartId" value="${vo.productPart.id}">
			<input type="text" class="input-small" old="${vo.stock}" id="requestItemNum${vs.count}" name="requestItemNum" maxlength="8" />
		</td>
		<td class="text-center">
			<input type="text" class="input-xlarge" name="requestItemComment" value=""  maxlength="500"/>
		</td>
	</tr>
</c:forEach>
</c:otherwise>
</c:choose>
 		


